package com.bdqn.t296.noso.service.Imp;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bdqn.t296.noso.entity.User;
import com.bdqn.t296.noso.mapper.UserMapper;
import com.bdqn.t296.noso.service.UserService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class UserServiceImp  implements UserService {

    @Resource
    UserMapper userMapper;

    @Override
    public List<User> likeSel(String loginName) {
        return userMapper.likeSel(loginName);
    }

    @Override
    public int del(String userId) {
        return userMapper.del(userId);
    }


}
